
package com.english.dao;

import java.util.List;

import com.english.dao.Dao;
import com.english.model.English;

public interface EnglishDao extends Dao {

    /**
     * Retrieves all of the englishs
     */
    public List getEnglishs(English english);

    /**
     * Gets english's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the english's id
     * @return english populated english object
     */
    public English getEnglish(final Long id);

    /**
     * Saves a english's information
     * @param english the object to be saved
     */    
    public void saveEnglish(English english);

    /**
     * Removes a english from the database by id
     * @param id the english's id
     */
    public void removeEnglish(final Long id);
}

